package com.hospital.ssm.mapper;

import com.hospital.ssm.model.HospitalType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HospitalTypeMapper {

    List<HospitalType> hospitalTypeList(@Param("id") Integer id) throws Exception;

    int hospitalTypeAdd(@Param("hospitalType") HospitalType hospitalType) throws Exception;

    int hospitalTypeDelete(@Param("id") Integer id) throws Exception;

    int hospitalTypeUpdate(@Param("hospitalType") HospitalType hospitalType) throws Exception;

    int hospitalTypeUpdatehtStatus(@Param("hospitalType") HospitalType hospitalType) throws Exception;
}
